package com.ruoyi.btlfbreed.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消毒记录对象 tb_chicken_disinfection_records
 * 
 * @author codeman
 * @date 2024-05-13
 */
public class TbChickenDisinfectionRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 鸡舍信息 */
    @Excel(name = "鸡舍信息")
    private String chickenHouseId;

    /** 消毒日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "消毒日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disinfectionDate;

    /** 消毒剂名称 */
    @Excel(name = "消毒剂名称")
    private String disinfectantName;

    /** 消毒剂浓度 */
    @Excel(name = "消毒剂浓度")
    private BigDecimal disinfectantConcentration;

    /** 消毒方法 */
    @Excel(name = "消毒方法")
    private String disinfectionMethod;

    /** 操作员 */

    private Long userId;
    @Excel(name = "操作员")
    private Long userName;
    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setChickenHouseId(String chickenHouseId) 
    {
        this.chickenHouseId = chickenHouseId;
    }

    public String getChickenHouseId() 
    {
        return chickenHouseId;
    }
    public void setDisinfectionDate(Date disinfectionDate) 
    {
        this.disinfectionDate = disinfectionDate;
    }

    public Date getDisinfectionDate() 
    {
        return disinfectionDate;
    }
    public void setDisinfectantName(String disinfectantName) 
    {
        this.disinfectantName = disinfectantName;
    }

    public String getDisinfectantName() 
    {
        return disinfectantName;
    }
    public void setDisinfectantConcentration(BigDecimal disinfectantConcentration) 
    {
        this.disinfectantConcentration = disinfectantConcentration;
    }

    public BigDecimal getDisinfectantConcentration() 
    {
        return disinfectantConcentration;
    }
    public void setDisinfectionMethod(String disinfectionMethod) 
    {
        this.disinfectionMethod = disinfectionMethod;
    }

    public String getDisinfectionMethod() 
    {
        return disinfectionMethod;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chickenHouseId", getChickenHouseId())
            .append("disinfectionDate", getDisinfectionDate())
            .append("disinfectantName", getDisinfectantName())
            .append("disinfectantConcentration", getDisinfectantConcentration())
            .append("disinfectionMethod", getDisinfectionMethod())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
